package com.zzyq.pc.web.submit.service;

import java.util.List;

import com.zzyq.pc.common.plugin.db.PageView;
import com.zzyq.pc.web.submit.model.Submit;

public interface ISubmitService {
    /**
     * 提交报送
     */
    boolean post(Submit submit);

    /**
     * 审核对象
     */
    boolean review(Submit submit);

    /**
     * 按参数查询
     */
    List<Submit> selectAsList(PageView pageView, Submit submit, Integer companyId);

    /**
     * 根据用户查询存在的未处理报送
     */
    List<Submit> selectUntreatedByUserId(Integer userId);
}
